package com.senlingspace.system.mapper;

import java.util.List;
import com.senlingspace.system.domain.SlkjEquipmentShop;
import com.senlingspace.system.domain.dto.EquipmentShopDto;
import com.senlingspace.system.domain.vo.SlkjEquipmentShopVo;
import org.apache.ibatis.annotations.Param;

/**
 * 门店设备Mapper接口
 * 
 * @author SenlingSpace
 * @date 2024-09-26
 */
public interface SlkjEquipmentShopMapper 
{
    /**
     * 查询门店设备
     * 
     * @param id 门店设备主键
     * @return 门店设备
     */
    public SlkjEquipmentShop selectSlkjEquipmentShopById(Long id);

    /**
     * 查询门店设备列表
     * 
     * @param slkjEquipmentShop 门店设备
     * @return 门店设备集合
     */
    // public List<SlkjEquipmentShop> selectSlkjEquipmentShopList(SlkjEquipmentShop slkjEquipmentShop);

    /**
     * 新增门店设备
     * 
     * @param slkjEquipmentShop 门店设备
     * @return 结果
     */
    public int insertSlkjEquipmentShop(SlkjEquipmentShop slkjEquipmentShop);

    /**
     * 修改门店设备
     * 
     * @param slkjEquipmentShop 门店设备
     * @return 结果
     */
    public int updateSlkjEquipmentShop(SlkjEquipmentShop slkjEquipmentShop);

    /**
     * 删除门店设备
     * 
     * @param id 门店设备主键
     * @return 结果
     */
    public int deleteSlkjEquipmentShopById(Long id);

    /**
     * 批量删除门店设备
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSlkjEquipmentShopByIds(Long[] ids);

    List<SlkjEquipmentShop> selectSlkjEquipmentShopListByEquipmentId(Long id);

    int batchUpdate(List<SlkjEquipmentShop> updatedSlkjEquipmentShops);

    int selectShopEquipment(@Param("equipmentId") Long equipmentId, @Param("shopId") Long shopId);

    List<SlkjEquipmentShopVo> selectEquipmentShopList(EquipmentShopDto equipmentShopDto);

}
